Keysight VISA.NET Help
BeginRead(Byte[],VisaAsyncCallback,Object) Method



An array of bytes allocated by the calling program.
The method to call when the operation is complete.
Information about the state of this particular asynchronous operation that is attached to the Async Results.
Read bytes asynchronously and store them in buffer until it is full. When done, notify the calling program via the callback provided.
Syntax
'Declaration
 
Overloads Function BeginRead( _
   ByVal buffer() As Byte, _
   ByVal callback As VisaAsyncCallback, _
   ByVal state As Object _
) As IVisaAsyncResult
'Usage
 
Dim instance As IMessageBasedRawIO
Dim buffer() As Byte
Dim callback As VisaAsyncCallback
Dim state As Object
Dim value As IVisaAsyncResult
 
value = instance.BeginRead(buffer, callback, state)

Parameters

buffer
An array of bytes allocated by the calling program.
callback
The method to call when the operation is complete.
state
Information about the state of this particular asynchronous operation that is attached to the Async Results.

Return Value

Information about the progress and results of the asynchronous operation that is specific to, and identifies, that particular operation.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025